resource "github_repository" "fail" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "public"

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
  vulnerability_alerts = false
}

resource "github_repository" "pass" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "public"

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
  vulnerability_alerts = true
}

resource "github_repository" "pass3" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "private"

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
  vulnerability_alerts = true
}


resource "github_repository" "pass2" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "public"

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
}

resource "github_repository" "fail2" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "private"

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
}

resource "github_repository" "pass4" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "public"
  archived   = true

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
  vulnerability_alerts = false
}

resource "github_repository" "pass5" {
  name        = "example"
  description = "My awesome codebase"

  visibility = "private"
  archived   = true

  template {
    owner      = "github"
    repository = "terraform-module-template"
  }
  vulnerability_alerts = false
}